// Type definitions for lin_payinfo table and incoming DTOs
export interface LinPayInfo {
  id: string
  message?: string | null
  create_user_id?: number | null
  create_user_name?: string | null
  create_time: string | Date
  update_user_id?: number | null
  update_user_name?: string | null
  update_time?: string | Date | null
  delete_user_id?: number | null
  delete_user_name?: string | null
  delete_time?: string | Date | null
  is_deleted: boolean
}

// DTO received from client for saving pay messages
export interface PayMsgDto {
  // accept both PascalCase and camelCase to be tolerant
  Authorize?: string
  authorize?: string
  Msg?: string
  msg?: string
}

export default {} as any
